<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<form action="" method="post" enctype="multipart/form-data">
 <table width="633" border="0">
	   <tr>
	      <td width="627" height="91" scope="col">
		  <?php
        	require_once('connect.php');
			$hasil=mysql_query("SELECT DISTINCT kelompok FROM pertanyaan");
			echo "<select id='pilihan_kelompok'>\n";
			while($row=mysql_fetch_row($hasil)){
				echo "	<option value='$row[0]'>".$row[0]."\n";	
			}
			echo "</select>";
    	 ?>
    	</td>
       </tr>
	   <tr>
	      <td height="344" align="left" valign="top"></td>
       </tr>
   </table>
</form>
</body>
</html>